﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IStringExpressionResolver.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   Defines the IStringExpressionResolver type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Engine
{
    using System.Collections;
    using System.Collections.Generic;
    using System.Collections.Specialized;

    /// <summary>
    /// Interface to be implemented by all string expresion resolver classes
    /// </summary>
    public interface IStringExpressionResolver
    {
        /// <summary>
        /// Resolves the expression.
        /// </summary>
        /// <param name="propertyExpression">The property expression.</param>
        /// <param name="variables">The variables.</param>
        /// <returns></returns>
        object ResolveExpression(string propertyExpression, NameValueCollection variables);
        //object ResolveExpression(string propertyExpression, List<NameValueCollection> variableCollections);
    }
}
